package com.koron.common.web.feign;

import com.koron.bean.base.Response;
import com.koron.common.core.business.workflow.service.ProcessCodeService;
import com.koron.common.web.feign.impl.EquipmentChangeServiceImpl;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author qingfeng
 * @description: TODO
 * @date 2021/7/28 17:58
 */
@FeignClient(qualifier = "equipmentChangeService",value = "eam-service-device",fallback = EquipmentChangeServiceImpl.class)
public interface EquipmentChangeService extends ProcessCodeService {

    @GetMapping("/equipmentChange/updateState")
    Response updateState(@RequestParam("dataId") String dataId);

    @GetMapping("/equipmentChange/updateState")
    Response updateEnd(@RequestParam("dataId") String dataId);

}
